<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>WICD Core 1.0 #20-1 - rightsizing to box</title>
  <link rel="stylesheet" type="text/css" href="resources/main.css"/>
  <link rel="stylesheet" type="text/css" href="resources/test-rightsizing-a.css"/>
</head>
<body>
    <div>
        <h1>rightsizing to box</h1>
        <h4>WICD Core 1.0 #20-1</h4>
        <div class="all">
            <object class="w100" data="resources/test-svg-child-object-rightsizing.gif" type="image/gif"></object>
        </div>
        <br/>
        <div class="all">
            <object class="w100" data="resources/test-svg-child-object-rightsizing1.svg" type="image/svg+xml"></object>
        </div>
        <p>
            Above there must be a GIF- and a SVG-image visible. Both are referenced by an object element (width:100%, no defined height) and each nested into a div element (width:176px, height:62px).
        </p>
        <div class="all">
            <object class="h100" data="resources/test-svg-child-object-rightsizing.gif" type="image/gif"></object>
        </div>
        <br/>
        <div class="all">
            <object class="h100" data="resources/test-svg-child-object-rightsizing1.svg" type="image/svg+xml"></object>
        </div>
        <p>
            Above there must be a GIF- and a SVG-image visible. Both are referenced by an object element (no defined width, height:100%) and each nested into a div element (width:176px, height:62px).
        </p>
        <p>
            This tests have succeeded, if in both cases, the look (dimensions) of the SVG and the GIF are exactly the same (except the text apparently) and no red background color is visible.
        </p>
        <p><br/><a href="javascript:history.back()">Back</a></p>
    </div>
    <script>
        document.body.offsetLeft;
    </script>
</body>
</html>

